package com.wgy.blog.mapper;

import com.wgy.blog.pojo.User;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author:Iny
 * @Data：2021/11/6 12:08
 */
 @Repository
public interface UserMapper {

    List<User> findAll();

    User getUserByName(String userName);

    User findById(int id);

    int update(User user);
}
